<% get_restaurant_sidebar('restaurant') %>
<% get_restaurant_breadcrumb(@navs,@nav_title) %>

<!-- <% get_restaurant_navbar('restaurant') %> -->
<!-- <div class="page">
  <div class="page-container">
    <div class="container">
      <div class="row">
        <div class="span12 header">
          <h4><%= @restaurant.name %>
          </h4>
        </div>
      </div>


       <div class="row">
        <div class="span12">
          <div class="well" style="font-size: 16px">

            <h4 class="header">餐厅具体信息
             <%= link_to "修改餐厅信息","/restaurants/restaurants/#{@restaurant.id}/edit",class:"btn btn-info pull-right" %>
              <%= link_to "查看餐厅的二维码","/restaurants/restaurants/#{@restaurant.id}/tables",class:"btn btn-default pull-right" %>
            </h4>

            <div class="row">
              <div class="span12">
                <p>名称: <span style="color: #27AE60"><%= @restaurant.name %></span></p>
                <p>联系方式: <span style="color: #3498DB"><%= @restaurant.phone || '暂未设置' %></span></p>
                <p>地址: <span style="color: #3498DB"><%= @restaurant.address || '暂未设置' %></span></p>
                <p>餐桌数: <span style="color: #3498DB"><%= @restaurant.total_tables  %></span></p>
                <p>打印机数量: <span style="color: #27AE60"><%= @restaurant.printers.count %></span></p>
              </div>
            </div>
          </div>
        </div>
    </div>
  </div>
</div>       -->